package com.example.zhu95.mytimber;

import java.util.HashMap;
import java.util.Map;

/**
 * @author zhu95
 * @date 2018/3/13 17:09
 */
public class ConstantValue {

    public static final int GRID_VIEW = 0;
    public static final int LINEAR_VIEW = 1;
    public static final int DEFAULT_VIEW = 3;
    public static final String CURRENT_VIEW_MODE = "CURRENT_VIEW_MODE";
    public static final String START_PLAY_RECEIVE = "com.example.zhu95.mytimber.StartPlayReceiver";
    public static final String MUSIC_STATE_RECEIVE = "com.example.zhu95.mytimber.MusicStateReceiver";
    public static final String SONG_ID = "SongID";
    public static final String CURRENT_POSITION = "CurrentPosition";
    public static final String SONG_IDS = "SongIDs";
    public static final String ALBUM_ID = "AlbumID";
    public static final String ARTIST_ID = "ArtistID";
    public static final String PLAYLIST_NAME = "ArtistName";

    public static final String MUSIC_STATE = "MusicState";
    public static final String MusicState_Playing = "Playing";
    public static final String MusicState_Paused = "Paused";
    public static final String MusicState_Stop = "Stop";

    public static final String PlayMusicCmd = "PlauMusicCmd";
    public static final String PlayMusicCmd_Play = "PlauMusicCmd_Play";
    public static final String PlayMusicCmd_Pause = "PlauMusicCmd_Pause";
    public static final String PlayMusicCmd_Stop = "PlauMusicCmd_Stop";
    public static final String PlayMusicCmd_CurrentPosition = "PlayMusicCmd_CurrentPosition ";
    public static final String IS_PROGRESSING = "isProgressing";

    /**
     * 0 表示列表顺序播放
     * 1 表示单曲循环
     * 2 表示列表随机播放
     */
    public static final int PLAYMODE_SEQUENCE = 0;
    public static final int PLAYMODE_SINGLE = 1;
    public static final int PLAYMODE_RANDOM = 2;

    public static byte[] emptyBlurBytes = null;
    public static Map<String, byte[]> albumArtBytesMap = new HashMap<>();

}
